/*
 * @Author: jhy
 * @Date: 2024-07-21 18:30:47
 * @LastEditTime: 2024-09-07 16:49:23
 * @LastEditors: jhy
 * @Description: 
 * @FilePath: /yiyu/szzjzc/src/api/modules/jgzz.js
 */
import request from '@/api/request'

const jgzz = {
    // 固定价-价格汇总表单接口
    fixedPriceCollect: (data) => request.post('/api/price/fixedPriceCollect', data),
    fixedJgzzCollect: (data) => request.post('/api/jgzz/fixedPriceCollect', data),
    // 浮动价-价格汇总表单接口
    floatPriceCollect: (data) => request.post('/api/price/floatPriceCollect', data),
    floatJgzzCollect: (data) => request.post('/api/jgzz/floatPriceCollect', data),
    // 费率价-价格汇总表单接口
    ratePriceCollect: (data) => request.post('/api/price/ratePriceCollect', data),
    rateJgzzCollect: (data) => request.post('/api/jgzz/ratePriceCollect', data),
    // 固定价-价格分析接口
    fixedPriceAnalysis: (data) => request.post('/api/price/fixedPriceAnalysis', data),
    // 浮动价-价格分析接口
    floatPriceAnalysis: (data) => request.post('/api/price/floatPriceAnalysis', data),
    // 费率价-价格分析接口
    ratePriceAnalysis: (data) => request.post('/api/price/ratePriceAnalysis', data),
    // 固定价-时间维度价格分析接口
    fixedMonthPriceAnalysis: (data) => request.post('/api/price/fixedMonthPriceAnalysis', data),
    // 浮动价-时间维度价格分析接口
    floatMonthPriceAnalysis: (data) => request.post('/api/price/floatMonthPriceAnalysis', data),
    //费率价-时间维度价格分析接口
    rateMonthPriceAnalysis: (data) => request.post('/api/price/rateMonthPriceAnalysis', data),
    //最新中标价格详情信息
    newPriceData: (data) => request.post('/api/price/newPriceData', data),
    //最大中标价格详情信息
    maxPriceData: (data) => request.post('/api/price/maxPriceData', data),
    //最小中标价格详情信息
    minPriceData: (data) => request.post('/api/price/minPriceData', data),
    //平均中标价格详情信息
    avgPriceData: (data) => request.post('/api/price/avgPriceData', data),
    //固定价/费率价/费率价-全流程数据接口
    dataTracePriceCollect: (data) => request.post('/api/price/dataTracePriceCollect', data),
    //  劳务列表接口 0 固定价 1 费率报价
    labourList0: (data) => request.post('/api/price/mock/labourList/1', data),
    labourList1: (data) => request.post('/api/price/mock/labourList/2', data),
    // 租赁列表接口
    leaseList: (data) => request.post('/api/price/mock/leaseList', data),
    // 专业分包查询列表接口
    zyPriceList0: (data) => request.post('/api/price/mock/zyPriceList/1', data),
    zyPriceList1: (data) => request.post('/api/price/mock/zyPriceList/2', data),
    zyPriceList2: (data) => request.post('/api/price/mock/zyPriceList/3', data),

    // 工程类别字典
    engineeringCategory: (data) => request.get('/api/dictionaries/engineeringTypeList', data),
    // 劳务工种分类字典接口
    labourClassify: (data) => request.get('/api/dictionaries/labourClassify', data),
    matClTree: (data) => request.get('/api//dictionaries/matClTree', { params: data }), // 材料
    mainMatClassify: (data) => request.get('/api/dictionaries/mainMatClassify', { params: data }), // 租赁
    lwAndZyfbType:(data) => request.get('/api/dictionaries/lwAndZyfbType', { params: data }), // 劳务，专业分包
    mockMatClassJX: (data) => request.post('/api/dictionaries/mock/mockMatClassJX', data),

    hotMatClass: (data) => request.post('/api/dictionaries/hotMatClass', data), // 热点分类模拟接口

    // 获取供应商项目评价
    getProjectEvaluation: (data) => request.get('/api/kspc/getProjectEvaluation', data),

    // 劳务，专业分包，租赁固定价/费率价/费率价-全流程数据接口 /jgzz/otherDataTracePriceCollect
    otherDataTracePriceCollect: (data) => request.post('/api/jgzz/otherDataTracePriceCollect', data),


    // 根据级别和父级id获取地区列表
    // /dictionaries/areaByLevel/{level}
    getProjectEvaluation: (data) => request.get(`/api/dictionaries/areaByLevel/${data.id}`, { params: data }),


}

export default jgzz
